package com.core.reach.cloudhub.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.core.reach.cloudhub.domain.CommonResult;

/**
 * @author ga.zhang
 * @version V1.0
 * @description: TODO
 * @date 2020/3/31 13:38
 **/
public class CustomerBlockHandler {

    public static CommonResult exceptionHandler(BlockException be) {
        return new CommonResult(444, "globale blockException handler------------------->1");
    }

    public static CommonResult exceptionHandler2(BlockException be) {
        return new CommonResult(444, "globale blockException handler------------------->2");
    }

}
